
import java.util.Scanner;
public class Experiment2 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.print("请输成绩：");
        double s=scanner.nextDouble();
        String level="";
        if (s>=90)
            level="优秀";
        else if (s>=80)
            level="良好";
        else if (s>=70)
            level="中等";
        else if (s>=60)
            level="及格";
        else
            level="不及格";
        System.out.println("成绩等级为："+level);
    }
}
